package com.base.api.dto.commodity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "积分兑换商品筛选请求参数")
public class CommodityBountyScreenDTO implements Serializable {
    @NotNull
    @ApiModelProperty(value="页码", example = "1")
    private Integer offset;

    @NotNull
    @ApiModelProperty(value="页码大小",example = "4")
    private Integer limit;

    @ApiModelProperty(value="商品一级分类id",example = "0")
    private Integer classifyId1;

    @ApiModelProperty(value="商品二级分类id",example = "0")
    private Integer classifyId2;

    @ApiModelProperty(value="商品分区 0: 奖励金区 1：积分 2:金豆",example = "0")
    private Integer commoditySubarea;
}
